State Pattern For Ai Behaviors - Pac-Man Ghost Ai In Phaser 3 Part 2